package com.xunua.NaoZiKongBai.Bean.ApiResponse;

import java.util.List;

/**
 * @user XUNUA
 * @email xunua@outlook.com
 * @creat time 2020/5/24 4:18
 */
public class NewsDetails {

    /**
     * code : 1
     * msg : 数据返回成功
     * data : {"images":[{"position":"<!--IMG#0-->","imgSrc":"http://cms-bucket.ws.126.net/2019/07/05/86125cd7700c4bc5aa8f8bca16df66be.jpeg","size":"865*772"},"...这里只显示了一张图片"],"title":"三峡大坝被传已变形将溃堤 中国航天发卫星图澄清","content":"<p>　　近日，境外一名反华分子在他的社交账号上宣称中国的三峡大坝已经变形，溃堤在即。...","source":"环球时报","ptime":"2019-07-05 06:22:40","docid":"EJA5MJQ30001875N","cover":"http://cms-bucket.ws.126.net/2019/07/05/017d16cc8d5745978c9150012ba69fe4.png"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * images : [{"position":"<!--IMG#0-->","imgSrc":"http://cms-bucket.ws.126.net/2019/07/05/86125cd7700c4bc5aa8f8bca16df66be.jpeg","size":"865*772"},"...这里只显示了一张图片"]
         * title : 三峡大坝被传已变形将溃堤 中国航天发卫星图澄清
         * content : <p>　　近日，境外一名反华分子在他的社交账号上宣称中国的三峡大坝已经变形，溃堤在即。...
         * source : 环球时报
         * ptime : 2019-07-05 06:22:40
         * docid : EJA5MJQ30001875N
         * cover : http://cms-bucket.ws.126.net/2019/07/05/017d16cc8d5745978c9150012ba69fe4.png
         */

        private String title;
        private String content;
        private String source;
        private String ptime;
        private String docid;
        private String cover;
        private List<ImagesBean> images;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getPtime() {
            return ptime;
        }

        public void setPtime(String ptime) {
            this.ptime = ptime;
        }

        public String getDocid() {
            return docid;
        }

        public void setDocid(String docid) {
            this.docid = docid;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public List<ImagesBean> getImages() {
            return images;
        }

        public void setImages(List<ImagesBean> images) {
            this.images = images;
        }

        public static class ImagesBean {
            /**
             * position : <!--IMG#0-->
             * imgSrc : http://cms-bucket.ws.126.net/2019/07/05/86125cd7700c4bc5aa8f8bca16df66be.jpeg
             * size : 865*772
             */

            private String position;
            private String imgSrc;
            private String size;

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }

            public String getImgSrc() {
                return imgSrc;
            }

            public void setImgSrc(String imgSrc) {
                this.imgSrc = imgSrc;
            }

            public String getSize() {
                return size;
            }

            public void setSize(String size) {
                this.size = size;
            }
        }
    }
}
